package kt.hkit.androidcomplete01.chapter11;

import kr.hkit.androidcomplete01.R;
import android.app.Activity;
import android.os.Bundle;
import android.text.InputFilter;
import android.widget.EditText;

public class EditLimit extends Activity {
	EditText limitEdit;
	
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.editlimit);
	
		limitEdit = (EditText) findViewById(R.id.ch11_editlimit_edit);
		
		InputFilter[] filters = {new InputFilter.LengthFilter(3)};
		limitEdit.setFilters(filters);
	}
}
